-- Basic Cannon

local BULLET = {}

-- General Information
BULLET.Name = "LMG"
BULLET.Author = "Tech"
BULLET.Description = "Light machine gun with blunt rounds. Credit to Divran."
BULLET.AdminOnly = false
BULLET.SuperAdminOnly = false

-- Appearance
BULLET.Model = "models/props_debris/wood_splinters01e.mdl"
BULLET.Material = nil
BULLET.Color = nil
BULLET.Trail = nil

-- Effects / Sounds
BULLET.FireSound = {"CM249_Fire.Single"}
BULLET.ExplosionSound = nil
BULLET.FireEffect = "muzzleflash"
BULLET.ExplosionEffect = "7.62x51_effect"
BULLET.EmptyMagSound = {"weapons/shotgun/shotgun_empty.wav"}

-- Movement
BULLET.Speed = 200
BULLET.Gravity = 0.001
BULLET.RecoilForce = 250
BULLET.Spread = 0.25

-- Damage
BULLET.DamageType = "BlastDamage"
BULLET.Damage = 7
BULLET.Radius = 1
BULLET.RangeDamageMul = 0.8
BULLET.NumberOfSlices = 5
BULLET.SliceDistance = 10
BULLET.PlayerDamage = 40
BULLET.PlayerDamageRadius = 10

-- Reloading/Ammo
BULLET.Reloadtime = 0.11
BULLET.Ammo = 50
BULLET.AmmoReloadtime = 3

BULLET.EnergyPerShot = 50

pewpew:AddBullet( BULLET )